package com.front.teacher.teacherapp.view.fragment;


import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.front.teacher.teacherapp.R;
import com.front.teacher.teacherapp.base.BaseFragment;
import com.front.teacher.teacherapp.presenter.StatisticsPresenter;
import com.front.teacher.teacherapp.view.impl.IStatisticsView;

/**
 * 数据统计碎片
 */
public class StatisticsFragment extends BaseFragment<IStatisticsView,StatisticsPresenter> implements IStatisticsView {
    public static StatisticsFragment statisticsFragment;

    public static StatisticsFragment newInstance(){
        if(statisticsFragment == null){
            statisticsFragment = new StatisticsFragment();
        }
        return statisticsFragment;
    }

    @Override
    public StatisticsPresenter initPresenter() {
        return new StatisticsPresenter(this);
    }

    @Override
    public int getLayoutId() {
        return R.layout.fragment_statistics;
    }

    @Override
    protected void initData() {

    }

    @Override
    protected void initView() {

    }
}
